# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       王景渊  
# Name:         做业
# Description:
# Author:       dell
# Date:         2019/3/6
#-------------------------------------------------------------------------------
dict = {'1到99':[],
        '100到999':[],
        '999到1999':[]
}
leap =1
for i in range(1,100):
    k = (int(i/2) + 1)
    for j in range(2,k):
        if  (i%j) == 0 :
            break
    if   leap  :
        dict['1到99'].append(i)

for i in range(100,999):
    k = (int(i/2) + 1)
    for j in range(2,k):
        if  (i%j) == 0 :
            break
    if   leap  :
        dict['100到999'].append(i)
for i in range(1000,2000):
    k = (int(i/2) + 1)
    for j in range(2,k):
        if  (i%j) == 0 :
            break
    if   leap  :
        dict['999到1999'].append(i)

print(dict)
